package com.h2cloud.Test2;

import java.time.LocalDateTime;
import java.time.ZoneOffset;

/**
 * @Package: com.h2cloud.Test2
 * @ClassName: test1
 * @Author: h2cloud
 * @CreateTime: 2024/3/16 8:52 下午
 * @Description:
 */
public class test1 {
	public static void main(String[] args) {
		System.out.println("System.currentTimeMillis() = " + System.currentTimeMillis());

		long currentWindowTime = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC);
		System.out.println("currentWindowTime = " + currentWindowTime);
	}
}
